package com.example.template.common.tk.plus.mapper;

import com.example.template.common.tk.plus.provider.BatchUpdateByIdProvider;
import org.apache.ibatis.annotations.UpdateProvider;
import tk.mybatis.mapper.annotation.RegisterMapper;

import java.util.List;

@RegisterMapper
public interface BatchUpdateByIdMapper<T> {
    @UpdateProvider(type = BatchUpdateByIdProvider.class, method = "dynamicSQL")
    int batchUpdate(List<T> list);
}
